package com.cblz.bd.common.core.entity.system;

import com.cblz.bd.common.core.entity.BaAdminGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * {@code @Name:} AdminGroupTree
 * {@code @Description: }
 * {@code @Author:} by yanjieping
 * {@code @CreateDate:} 2022/11/14 - 周一
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class AdminGroupTree extends Tree<BaAdminGroup>{

    /**
     * ID
     */
    private Integer id;

    /**
     * 上级分组
     */
    private Integer pid;

    /**
     * 组名
     */
    private String name;

    /**
     * 权限规则ID
     */
    private String rules;

    /**
     * 创建时间
     */
    private Long createtime;

    /**
     * 更新时间
     */
    private Long updatetime;

    /**
     * 状态:0=禁用,1=启用
     */
    private Integer status;
}
